<?php
	include "core/mysql.php";
$id=$_GET['id'];
$Fabulous=$_GET['Fabulous'];
 session_start();
$_SESSION['comment_id']=$id;

//写更新语句
$sql="UPDATE tbl_comment SET Fabulous =$Fabulous WHERE id=$id";
//执行query方法
$res = query($sql);
$sqll="SELECT Fabulous FROM tbl_comment WHERE id=$id";
 $res1 = fetchAll($sqll);//查询的方法
 
?>